package com.ruoyi.wp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 就诊挂号对象 doctor_register
 *
 * @author ruoyi
 * @date 2022-11-16
 */
public class IDoctorRegister extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 挂号id */
    private Long registerId;

    /** 挂号编号 */
    @Excel(name = "挂号编号")
    private String registerNumber;

    /** 患者id（外键） */
    @Excel(name = "患者id", readConverterExp = "外=键")
    private Long registerPatientId;

    /** 挂号费ID（外键） */
    @Excel(name = "挂号费ID", readConverterExp = "外=键")
    private Long registerSystemRegistraFeeId;

    /** 病例id（外键） */
    @Excel(name = "病例id", readConverterExp = "外=键")
    private Long registerHistoryId;

    /** 部门id（外键） 修改为科室id */
    @Excel(name = "部门id", readConverterExp = "外=键")
    private Long registerUserId;

    /** 就诊日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "就诊日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registerDate;

    /** 状态（0未收费,1代就诊，2正在就诊，3就诊完成） */
    @Excel(name = "状态", readConverterExp = "0=未收费,1代就诊，2正在就诊，3就诊完成")
    private String registerStatus;

    /** 挂号时段（上午，下午，晚上） */
    @Excel(name = "挂号时段", readConverterExp = "上=午，下午，晚上")
    private String registerTime;

    public void setRegisterId(Long registerId)
    {
        this.registerId = registerId;
    }

    public Long getRegisterId()
    {
        return registerId;
    }
    public void setRegisterNumber(String registerNumber)
    {
        this.registerNumber = registerNumber;
    }

    public String getRegisterNumber()
    {
        return registerNumber;
    }
    public void setRegisterPatientId(Long registerPatientId)
    {
        this.registerPatientId = registerPatientId;
    }

    public Long getRegisterPatientId()
    {
        return registerPatientId;
    }
    public void setRegisterSystemRegistraFeeId(Long registerSystemRegistraFeeId)
    {
        this.registerSystemRegistraFeeId = registerSystemRegistraFeeId;
    }

    public Long getRegisterSystemRegistraFeeId()
    {
        return registerSystemRegistraFeeId;
    }
    public void setRegisterHistoryId(Long registerHistoryId)
    {
        this.registerHistoryId = registerHistoryId;
    }

    public Long getRegisterHistoryId()
    {
        return registerHistoryId;
    }
    public void setRegisterUserId(Long registerUserId)
    {
        this.registerUserId = registerUserId;
    }

    public Long getRegisterUserId()
    {
        return registerUserId;
    }
    public void setRegisterDate(Date registerDate)
    {
        this.registerDate = registerDate;
    }

    public Date getRegisterDate()
    {
        return registerDate;
    }
    public void setRegisterStatus(String registerStatus)
    {
        this.registerStatus = registerStatus;
    }

    public String getRegisterStatus()
    {
        return registerStatus;
    }
    public void setRegisterTime(String registerTime)
    {
        this.registerTime = registerTime;
    }

    public String getRegisterTime()
    {
        return registerTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("registerId", getRegisterId())
                .append("registerNumber", getRegisterNumber())
                .append("registerPatientId", getRegisterPatientId())
                .append("registerSystemRegistraFeeId", getRegisterSystemRegistraFeeId())
                .append("registerHistoryId", getRegisterHistoryId())
                .append("registerUserId", getRegisterUserId())
                .append("registerDate", getRegisterDate())
                .append("registerStatus", getRegisterStatus())
                .append("registerTime", getRegisterTime())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}